﻿using Three_Week.DAL;
using Three_Week.Model;

namespace Three_Week.BLL
{
    public class HouseBll
    {
        private readonly HouseDal houseDal;

        public HouseBll(HouseDal _houseDal)
        {
            houseDal = _houseDal;
        }
        /// <summary>
        /// 房型添加
        /// </summary>
        /// <param name="V"></param>
        /// <returns></returns>
        public int HouseAdd(HouseType V)
        {
            try
            {
                return houseDal.HouseAdd(V);
            }
            catch (Exception)
            {

                throw;
            }
        }
    }
}